Publishing Web Services to an External UDDI Registry |
|
Before you begin this task:
- Load the UDDI Application.
- Create the UDDI Service Container.
- You must have the role of either UDDI Developer or UDDI Admin to perform this task.
- You must add the UDDI 2.0 registry. For more information on this task, refer to Managing Registries.
The UDDI registry provides a mechanism to advertise and discover Web services. For a service requestor to discover a service, a service provider must first publish a business entity and at least one business service in a UDDI registry.
- Search for the Web service interface or operation you intend to publish. The relevant Web service operations are displayed in the Search Results box.
- Right-click a Web service interface or operation and select Properties. The Web Service Interface Properties - <Name of the Web Service Interface> dialog box appears. This box displays the Web service interfaces and operations in their corresponding App palettes.
- Do one of the following:
To publish
Procedure
Web service Interface
In the Web Service Interface App Palette, click and select Publish to UDDI Registry.
Web service Operation
In the Web Service Operation App Palette, right-click an operation and select Publish to UDDI Registry.
- In this dialog box, select the registry in which you want to publish the business entity. You can select a registry through one of the following options:
- Default Registry - This option displays the registry that is chosen as default while Managing Registries. In this case, the list is disabled and the pre-chosen registry is populated.
- Select a Registry - This option allows you to select a registry other than the default one from the drop-down list.
Note:
Only the registries that have been added to UDDI registry are displayed in the Registry list.
- You can select an entity for which you want to publish the business service in the following ways from the Entity drop-down list:
If...
Then...
You want to search for an existing entity.
1. Click Search button.
2. Search for entities and services dialog box is displayed.
3. Select Business Entities from the Find drop-down list.
4. Type the Keyword and specify the number of results to be displayed per page.
5. Click Search button and the results are displayed in the Search Results section.
6. Select the required entities and click Use for Publish button.You want to create a new entity for the selected registry.
1. Select <create a new entity> from the Entity drop-down list.
2. Fields that have to be filled with the new entity information are displayed in the right pane. The registry hierarchy is displayed in the left pane.
3. You can enter information for the new entity. For information on the fields, refer to New Entity Interface.Note:
A new service can be created within this new entity by selecting the New Service node appended to New Entity in the registry hierarchy. For information on the fields, refer to New Service Interface. - You can select a business service in the following ways from the Service drop-down list.
Important
If you have selected an existing entity in the previous step, you can either create a new service under it or search for an existing service. While, if you have created a new entity, a new service can be created.If...
Then...
You want to select an existing service.
1. Click Search button.
2. Search for entities and services dialog box is displayed.
3. Select Business Services from the Find drop-down list.
4. Type the Keyword and specify the number of results to be displayed per page.
5. Click Search button and the results are displayed in the Search Results section.
6. Select the required services and click Use for Publish button.You want to publish a new service for the selected registry.
1. Select <create a new service> from the Service drop-down list.
2. Empty fields to be filled with new service information are displayed in the right pane.
3. In the left pane, the New Service node is appended to the selected entity in the registry hierarchy.
4. You can enter information for the new service in the respective fields. However, this is not mandatory. For information on the fields, refer to New Service Interface.Note:
- You can update tModel information in the following way.
- From the hierarchy in the left pane, select <registry> > <entity> > <service> > <binding template> > tModel.
- Modify the required tModel information. For more information on the various fields, refer to tModel Details Interface.
- You can update binding template information in the following way.
- From the registry hierarchy in the left pane, select <registry> > <entity> > <service> > <binding template>.
- Modify the required binding template information. For more information on the various fields, refer to Binding Template Details Interface.
- You can update tModel information in the following way.
- Click Publish. The Web service is published to an external UDDI registry.
Note:
You can modify the entity, service, tmodel and binding information for a published Web service. For information on this, refer to Modifying a Published Web service.